package org.jing.core.thread;

import org.jing.core.lang.BaseConfiguration;
import org.jing.core.lang.annotation.SerializableField;
import org.jing.core.lang.annotation.SerializableType;

import java.util.List;

/**
 * Description: <br>
 *
 * @author bks <br>
 * @since 2023-09-19 <br>
 */
@SerializableType("jing.thread")
public class ThreadConfiguration extends BaseConfiguration {
    @SerializableField(value = "limitCount", defaultValue = "12")
    private int limitCount;

    @SerializableField(value = "subs")
    private List<ThreadSubConfiguration> subThread;

    public int getLimitCount() {
        return limitCount;
    }

    public List<ThreadSubConfiguration> getSubThread() {
        return subThread;
    }
}
